import { createStateContext } from 'react-use';

type State = {
  active?: boolean;
};

const [useModalContext, ModalContextProvider] = createStateContext<State>({});

export { useModalContext, ModalContextProvider };
